package com.aaa.ssm.service.impl;

import com.aaa.ssm.dao.RevenueStatisticsDao;
import com.aaa.ssm.entity.RevenueStatistics;
import com.aaa.ssm.service.RevenueStatisticsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class RevenueStatisticsServiceImpl implements RevenueStatisticsService {
    //依赖注入
    @Resource
    private RevenueStatisticsDao revenueStatisticsDao;
    @Override
    public List<RevenueStatistics> queryByScenicAndOrder(String monthDay, String scenicName) {
        return revenueStatisticsDao.queryByScenicAndOrder(monthDay,scenicName);
    }
}
